home *** CD-ROM | disk | FTP | other *** search
/ IRIX Base Documentation 1998 November / IRIX 6.5.2 Base Documentation November 1998.img / usr / share / catman / u_man / cat1 / X11 / startx.z / startx
Text File  |  1998-10-20  |  6KB  |  133 lines

  1.  
  2.  
  3.  
  4.      SSSSTTTTAAAARRRRTTTTXXXX((((1111))))          XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))           SSSSTTTTAAAARRRRTTTTXXXX((((1111))))
  5.  
  6.  
  7.  
  8.      NNNNAAAAMMMMEEEE
  9.           startx - initialize an X session
  10.  
  11.      SSSSYYYYNNNNOOOOPPPPSSSSIIIISSSS
  12.           ssssttttaaaarrrrttttxxxx [ [ _c_l_i_e_n_t ] _o_p_t_i_o_n_s ... ] [ -------- [ _s_e_r_v_e_r ] _o_p_t_i_o_n_s
  13.           ... ]
  14.  
  15.      DDDDEEEESSSSCCCCRRRRIIIIPPPPTTTTIIIIOOOONNNN
  16.           NOTE: The _s_t_a_r_t_x script supplied with the X11 distribution
  17.           is a sample designed more as a base for customization than
  18.           as a finished product.  Site administrators are urged to
  19.           customize it for their site.  And to update this manual page
  20.           when they do!
  21.  
  22.           The _s_t_a_r_t_x script is a front end to _x_i_n_i_t that provides a
  23.           somewhat nicer user interface for running a single session
  24.           of the X Window System.  It is typically run with no
  25.           arguments.
  26.  
  27.           To determine the client to run, _s_t_a_r_t_x first looks for a
  28.           file called ._x_i_n_i_t_r_c in the user's home directory.  If that
  29.           is not found, it uses the file _x_i_n_i_t_r_c in the _x_i_n_i_t library
  30.           directory.  If command line client options are given, they
  31.           override this behavior.  To determine the server to run,
  32.           _s_t_a_r_t_x first looks for a file called ._x_s_e_r_v_e_r_r_c in the
  33.           user's home directory.  If that is not found, it uses the
  34.           file _x_s_e_r_v_e_r_r_c in the _x_i_n_i_t library directory.  If command
  35.           line server options are given, they override this behavior.
  36.           Users rarely need to provide a ._x_s_e_r_v_e_r_r_c file.  See the
  37.           _x_i_n_i_t(1) manual page for more details on the arguments.
  38.  
  39.           The ._x_i_n_i_t_r_c is typically a shell script which starts many
  40.           clients according to the user's preference.  When this shell
  41.           script exits, _s_t_a_r_t_x kills the server and performs any other
  42.           session shutdown needed.  Most of the clients started by
  43.           ._x_i_n_i_t_r_c should be run in the background.  The last client
  44.           should run in the foreground; when it exits, the session
  45.           will exit.  People often choose a session manager, window
  46.           manager, or _x_t_e_r_m as the ``magic'' client.
  47.  
  48.      EEEEXXXXAAAAMMMMPPPPLLLLEEEE
  49.           Below is a sample ._x_i_n_i_t_r_c that starts several applications
  50.           and leaves the window manager running as the ``last''
  51.           application.  Assuming that the window manager has been
  52.           configured properly, the user then chooses the ``Exit'' menu
  53.           item to shut down X.
  54.  
  55.               xrdb  -load  $HOME/.Xresources
  56.               xsetroot  -solid  gray  &
  57.               xbiff  -geometry  -430+5  &
  58.               oclock  -geometry  75x75-0-0  &
  59.               xload  -geometry  -80-0  &
  60.  
  61.  
  62.  
  63.      Page 1                                          (printed 4/30/98)
  64.  
  65.  
  66.  
  67.  
  68.  
  69.  
  70.      SSSSTTTTAAAARRRRTTTTXXXX((((1111))))          XXXX VVVVeeeerrrrssssiiiioooonnnn 11111111 ((((RRRReeeelllleeeeaaaasssseeee 6666....3333))))           SSSSTTTTAAAARRRRTTTTXXXX((((1111))))
  71.  
  72.  
  73.  
  74.               xterm  -geometry  +0+60  -ls  &
  75.               xterm  -geometry  +0-100  &
  76.               xconsole  -geometry  -0+0  -fn  5x7  &
  77.               exec  twm
  78.  
  79.      EEEENNNNVVVVIIIIRRRROOOONNNNMMMMEEEENNNNTTTT VVVVAAAARRRRIIIIAAAABBBBLLLLEEEESSSS
  80.           DISPLAY                  This variable gets set to the name
  81.                                    of the display to which clients
  82.                                    should connect.  Note that this
  83.                                    gets _s_e_t, not read.
  84.  
  85.      FFFFIIIILLLLEEEESSSS
  86.           $(_H_O_M_E)/._x_i_n_i_t_r_c         Client to run.  Typically a shell
  87.                                    script which runs many programs in
  88.                                    the background.
  89.  
  90.           $(_H_O_M_E)/._x_s_e_r_v_e_r_r_c       Server to run.  The default is _X.
  91.  
  92.           <_X_R_o_o_t>/_l_i_b/_X_1_1/_x_i_n_i_t/_x_i_n_i_t_r_c
  93.                                    Client to run if the user has no
  94.                                    ._x_i_n_i_t_r_c file.  <XRoot> refers to
  95.                                    the root of the X11 install tree.
  96.  
  97.           <_X_R_o_o_t>/_l_i_b/_X_1_1/_x_i_n_i_t/_x_s_e_r_v_e_r_r_c
  98.                                    Client to run if the user has no
  99.                                    ._x_s_e_r_v_e_r_r_c file.  This is only
  100.                                    needed if the server needs special
  101.                                    arguments or is not named.  <XRoot>
  102.                                    refers to the root of the X11
  103.                                    install tree.
  104.  
  105.      SSSSEEEEEEEE AAAALLLLSSSSOOOO
  106.           _x_i_n_i_t(1)
  107.  
  108.  
  109.  
  110.  
  111.  
  112.  
  113.  
  114.  
  115.  
  116.  
  117.  
  118.  
  119.  
  120.  
  121.  
  122.  
  123.  
  124.  
  125.  
  126.  
  127.  
  128.  
  129.      Page 2                                          (printed 4/30/98)
  130.  
  131.  
  132.  
  133.